export const useCopyText = () => {
  const copyText = (data: any) => {
    uni.setClipboardData({
      data, // e是你要保存的内容
      success: function () {
        console.log('copyText', data)
        uni.showToast({
          title: '复制成功',
          icon: 'none',
          duration: 1000,
        })
      },
    })
  }
  return { copyText }
}
